package com.weixing.mall.provider.model.dto;

import com.weixing.mall.provider.model.enums.GoodsStateEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @program: mall-master
 * @description: SKU上下架处理
 * @author: wangfang
 * @create: 2021-10-25 19:37
 **/
@Data
public class SkuUpOrDownDto {
    /**
     * 商品Id
     */
    @ApiModelProperty(value = "商品Id")
    @NotNull(message = "请输入商品Id")
    private Long  goodsId;
    /**
     * 货品 Id
     *
     */
    @ApiModelProperty(value = "货品 Id")
    @NotNull(message = "请输入货品 Id")
    private  Long  productId;
    /**
     * 上架/下架状态
     */
    @ApiModelProperty(value = "上架/下架")
    @NotNull(message = "请输入正确的状态")
    private GoodsStateEnum goodsEnum;
}
